﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace quanlysinhvien
{
    public partial class FormMain : Form
    {
        public FormMain()
        {
            InitializeComponent();
        }


        private void exitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Dispose();
        }

        private void addStudentToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormAdd_Student FormAdd_Student = new FormAdd_Student();
            FormAdd_Student.Show();

        }

        private void addMarkToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormAdd_Mark FormAdd_Mark = new FormAdd_Mark();
            FormAdd_Mark.Show();
        }

        private void listStudentToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmListStudent FrmListStudent = new FrmListStudent();
            FrmListStudent.Show();
            this.Hide();
        }

        private void searchToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormSearch_Student FormSearch_Student = new FormSearch_Student();
            FormSearch_Student.Show();
            this.Hide();
        }

        private void loginToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmLogin FrmLogin = new FrmLogin();
            FrmLogin.Show();
            this.Hide();

        }

        private void FormMain_Load(object sender, EventArgs e)
        {
            
             
        }

        private void userManagementToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmUserManagement FrmUserManagement = new FrmUserManagement();
            FrmUserManagement.Show();
            this.Hide();
        }
    }
}
